package com.woniuxy.commons.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Receivables {
    private Integer id;
    private String pno;
    private Integer uid;
    private String pname;
    private Integer num;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime time;
    private BigDecimal totalmoney;
    private BigDecimal principalmoney;
    private BigDecimal interestmoney;
    private String status;
}
